package server

import (
	"longmen/server/internal/rpc/games/fruit_machine"
	"longmen/server/pkg/common/api_models"
	"longmen/server/pkg/protobuf"
)

type GameServer struct {
	protobuf.UnimplementedGameServiceServer
	FruitGame *fruit_machine.Fruits
}

const (
	C2CJoinGame = "join_game" // 进入游戏
	C2CUserBet  = "user_buy"  //用户下注
)

// 游戏类型
type GameType int

const (
	GameSlotGameId GameType = 100 //
)

// 游戏应用的roomid
const (
	GameSlotRoomId = "GameSlotRoomId"
)

type Table interface {
	JoinTable()
	UserBet(req *api_models.UserBetReq) bool
}
